#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.common.bean.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Description: 访问链接控制
 *
 * @author wupanhua
 * @date 2019/8/6 15:28
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Operate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Long id;
    /**
     * 编码
     */
    @ApiModelProperty("编码")
    private String code;
    /**
     * 元素名称
     */
    @ApiModelProperty("元素名称")
    private String name;
    /**
     * 菜单主键
     */
    @ApiModelProperty("菜单主键")
    private Long menuId;
    /**
     * 元素链接
     */
    @ApiModelProperty("元素链接")
    private String url;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createdate;
    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private Date updatedate;
    /**
     * 状态
     */
    @ApiModelProperty("状态")
    private Integer status;

    private Menu menu;

    public Operate(Long id, String code) {
        this.id = id;
        this.code = code;
    }
}
